//
//  SLSwitchView.h
//  Objective-C
//
//  Created by S_LINE on 2019/9/25.
//  Copyright © 2019 S_Line. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SLSwitchView : UIView

@property (nonatomic, strong) NSArray<NSString *> *titles;
@property (nonatomic, assign) NSInteger currentIndex;
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *highlightedColor;

@property (nonatomic, copy) void(^currentIndexWillChange)(NSInteger currentIndex);

@end
